package com.ayf.payment.game.api.dto.platform;

import com.swwx.charm.commons.lang.base.BasicTO;

/**
 *
 * @author wwl
 * @date 2020/3/4 11:30
 */
public class TokenAdmin extends BasicTO {

    private static final long serialVersionUID = 1L;

    private Integer adminUserId;

    private String accessToken;

    private Long expiredSeconds;

    private String refreshToken;

    private String ip;

    public Long getExpiredSeconds() {
        return expiredSeconds;
    }

    public void setExpiredSeconds(Long expiredSeconds) {
        this.expiredSeconds = expiredSeconds;
    }

    public Integer getAdminUserId() {
        return adminUserId;
    }

    public void setAdminUserId(Integer adminUserId) {
        this.adminUserId = adminUserId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Override
    public String toString() {
        return "TokenAdmin{" +
                "adminUserId=" + adminUserId +
                ", accessToken='" + accessToken + '\'' +
                ", ip='" + ip + '\'' +
                ", expiredSeconds=" + expiredSeconds +
                ", refreshToken='" + refreshToken + '\'' +
                '}';
    }
}
